package com.ruoyi.web.controller.biz.data;

import java.util.ArrayList;
import java.util.List;

public class CaseStatus {
	
	/*
    <option value="0">已登记</option>
    <option value="1">已立案</option>
    <option value="2">进行中</option>
    <option value="3">已结案</option>
	 */
	public static List<IdName> getList() {
		List<IdName> list = new ArrayList<>();
		for (int i=0; i<5; i++) {
			String name = null;
			switch(i) {
			    case 0: {
			    	name = "已登记";
			    	break;
			    }
			    case 1: {
			    	name = "已立案";
				    break;
				}
			    case 2: {
			    	name = "进行中";
				    break;
				}
			    case 3: {
			    	name = "已结案";
				    break;
				}
			    case 4: {
			    	name = "已归档";
				    break;
				}
			}
			IdName idName = new IdName(i, name);
			list.add(idName);
		}
		
		return list;
	}
	
}
